<?php defined('_VALID_MOS') or die('Direct Access to this location is not allowed.'); ?>

<div class="contentheading">
    <?php echo $this->title; ?>
</div>

{leagueman_roundresultnav p="<?php echo $this->project->getID(); ?>"}

<br />

<?php if ($this->round->hasOption('showResults')): ?>
    {tab=<?php echo _LM_RESULTS; ?>}
    {leagueman_roundresult p="<?php echo $this->project->getID(); ?>" r="<?php echo $this->round->getOrdering(); ?>"}
 <?php endif ?>

<?php if ($this->round->hasOption('showTable')): ?>
    {tab=<?php echo _LM_TABLE; ?>}
    {leagueman_leaguetable p="<?php echo $this->project->getID(); ?>" r="<?php echo $this->round->getOrdering(); ?>"}
<?php endif ?>

<?php if ($this->round->hasOption('showInfo')): ?>
    {tab=<?php echo _LM_INFO; ?>}
    <?php include $this->loadTemplate($this->project->getTemplate() . "/reports.tpl.php"); ?>
<?php endif ?>

<?php if ($this->round->hasOptions()): ?>
    {/tabs}
<?php endif ?>